package com.augurit.gzcgwsp.ywcmn.service;

import java.util.List;

import org.springside.modules.orm.Page;

import com.augurit.common.base.service.ICrudService;
import com.augurit.gzcgwsp.printDoc.entity.YwPrintDoc;
import com.augurit.gzcgwsp.ywcmn.web.form.YwComPrintForm;
import com.augurit.wf.bi.web.form.WfTemplateAttachmentRefForm;

public interface IYwComPrintService extends ICrudService<YwComPrintForm, Long> {
    public Page<YwComPrintForm> getPrintDataList(Page<YwComPrintForm> page, YwComPrintForm form);
    
    public Page<YwComPrintForm> getPrintTplList(Page<YwComPrintForm> page, YwComPrintForm form);
    
    /**
	 * 分页查询需要受理通知书打印记录
	 * @param page
	 * @prama  page
	 * @prama  printForm
	 * @return 
	 */
    public Page<YwComPrintForm> getPrintAcceptDataList(Page<YwComPrintForm> page, YwComPrintForm form);
    
    /**
	 * 分页查询需要延期通知书打印记录
	 * @param page
	 * @prama  page
	 * @prama  printForm
	 * @return 
	 */
    public Page<YwComPrintForm> getPrintYqDataList(Page<YwComPrintForm> page, YwComPrintForm form);

    //加入创建人和创建时间
    public void translateList(WfTemplateAttachmentRefForm reForm,
            YwComPrintForm form);

    /**
     * 查询制文实体
     * @param 
     * @return
     */
	public List<YwPrintDoc> findDoc(Long id, String fileCode, Long tempId);

}
